x86_emulate: (Almost) complete FPU emulation.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Jul 2008 12:27:41 +0000 (13:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Jul 2008 12:27:41 +0000 (13:27 +0100)
commit38e7a8f94f648aac05ab4a350b87cf489501abf5
tree7f9a12817309ed40676bd4a72779d2f192963ebe
parentf1ba06c0f4142bee79a46698f715a961c6ed5128
x86_emulate: (Almost) complete FPU emulation.

Provide emulation for all FPU instructions except fsave/frstore &
fnstenv/fldenv.

While the main purpose of the patch is to avoid current and future
"gotchas" on FPU intructions used by various OS boot-loaders, it is
complete enough to run DOS realmode FPU applications and benchmarks,
but don't expect to set any speed records.

Signed-off-by: Trolle Selander <trolle.selander@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c